package ar.fi.uba.fallas2;

public abstract class QAMMock implements QuestionAnswerManager {

	int alreadyAskedQuestions=0;
	String log="";
	
	public int getAlreadyAskedQuestions() {
		return alreadyAskedQuestions;
	}

	public String getNextQuestions() {
		return "pregunta " + getAlreadyAskedQuestions();
	}

	public String getResponse() {
		return "UNA PAPA!";
	}

	public void setNextAnswer(String answer) {
		log+=" " + getNextQuestions() + ": " +  answer + "<br>";
	}
	
	public void moveToNextQuestion() {
		alreadyAskedQuestions++;
	}

	public void setResponse(String response) {
	}

	public String getHTMLLog() {
		return log;
	}
}
